package com.tjbank.cssys.repository;

import com.tjbank.cssys.domain.CkCreditCivilCirminalCases;

import java.util.List;
import java.util.Map;

public interface CkCreditCivilCirminalCasesMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CkCreditCivilCirminalCases record);

    int insertSelective(CkCreditCivilCirminalCases record);

    CkCreditCivilCirminalCases selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CkCreditCivilCirminalCases record);

    int updateByPrimaryKey(CkCreditCivilCirminalCases record);

    List<CkCreditCivilCirminalCases> getListCivilByCaseType(String caseType);

    void updataCaseStatue(String cardNumber);

    void insertBatchList(List<CkCreditCivilCirminalCases> list);

    List<CkCreditCivilCirminalCases> listData(Map<String,String> params);

    Integer IsNotHave(CkCreditCivilCirminalCases record);

    void updateHave (CkCreditCivilCirminalCases record);
}